<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>交换</title>
</head>
<body>
 
</body>
</html>
<script>
    var leftHand = '西餐刀'
    var rightHand ='西餐叉'
    var temp= leftHand;
    leftHand=rightHand;
    rightHand=temp;
    console.log(leftHand);
    console.log(rightHand);
</script>